//
//  ILJClient.h
//  LongOA
//
//  Created by 梁文朗 on 15/7/20.
//  Copyright (c) 2015年 耿用强. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ILJRequest.h"

@protocol ILJClient <NSObject>
@required
-(void)requestWithApiName:(NSString *)apiname
                   params:(NSMutableDictionary *)params 
                   andMsg:(NSString*)msg 
                   andView:(UIView*)vi 
                   globalTimelinePostsWithBlock:(void (^)(NSDictionary *posts, NSError *error))block;

@required
-(void)Doexecute:(ILJRequest*) request
        RspClass:(Class) rspClass
          andMsg:(NSString*)msg
         andView:(UIView*) vi
globalTimelinePostsWithBlock:(void (^)(id rsp))block;
@end
